// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.


import 'common/extension/index';
import Vue from 'vue'





// vue模块：开始

Vue.config.productionTip = false





// MintUI : 开始

import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'

Vue.use(MintUI);

// MintUI : 结束








import router from './router.js'
import store from './store.js'
import App from './app/App'


/* eslint-disable no-new */
 let app = new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>',
  beforeDestroy:function () {
    store.saveState();
  }
})



// vue模块：结束

window.hbj = function (opt) {
  return MintUI.Toast(opt)
}
